package com.pureut.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.system.domain.MaterialCertificationApplication;
import com.pureut.system.domain.dto.MaterialCertificationApplicationDetailsDto;
import com.pureut.system.domain.dto.MaterialCertificationApplicationPagesDto;
import com.pureut.system.domain.vo.MaterialCertificationApplicationVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: pureut
 * @Date: 2024-12-04 18:23:47
 * @Desc: 物料认证申请
 */
@Mapper
public interface MaterialCertificationApplicationMapper extends BaseMapper<MaterialCertificationApplication> {

    /**
     * 查询列表
     * @param materialCertificationApplicationVo
     * @return
     */
    List<MaterialCertificationApplicationPagesDto> selecByPage(@Param("materialCertificationApplicationVo") MaterialCertificationApplicationVo materialCertificationApplicationVo);

    /**
     * 根据id查询明细
     * @param id
     * @return
     */
    MaterialCertificationApplicationDetailsDto getInfoById(@Param("id") Long id);
}
